package com.sanyang.pda.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.sanyang.pda.bean.ManualPalletBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;
import com.wangshen.projectbase.R;

import java.util.List;

public class ManualPalletAdapter extends BaseAdapter<ManualPalletBean> {
    public ManualPalletAdapter(int layoutResId, @Nullable List<ManualPalletBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ManualPalletBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_title,item.getEntryNo());
        helper.setText(R.id.tv_work_zone,": "+item.getOperationNo());
        helper.setText(R.id.tv_memory_area,": "+item.getStorageNo());
        helper.setText(R.id.tv_time,": "+item.getReceivingTime());
    }
}
